- form_tag(:controller => "roles", :action => :create) do
  %table
    %tr
      %td Name
      %td= text_field("role", "name", { :size => 40 })
    %tr
      %td
      %td= submit_tag("Create")
%br

- if (@roles.length > 0)
  - form_tag(:controller => "roles", :action => :delete) do
    %table
      %th Name
      %th= submit_tag("Delete")
      - @roles.each do |role|
        %tr
          %td= role.name
          %td= check_box_tag("deleterole#{role.id}")
